﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Base64
{
    static class Program
    {
        /// <summary>
        /// Entry point of the application. Uses for testing the program.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form_Base64EncodeDecode());

            //string FileToEncode = @"C:\work\Quam\Base64\Base64\data\exempleRR.pdf";
            //string FileToWriteEncoded = @"C:\work\Quam\Base64\Base64\data\exempleRR64.txt";
            //string EncodedData = Encode64.EncodeFileToBase64(FileToEncode);
            //Encode64.WriteEncodedToFile(EncodedData, FileToWriteEncoded);

            //string FileToDecode = FileToWriteEncoded;
            //string DecodedOutputFile = @"C:\work\Quam\Base64\Base64\data\exempleRRFrom64.pdf";
            ////string EncodedDataRead = Decode64.readEncodeDataFromFile(FileToDecode);  
            //Decode64.DecodeBase64(EncodedData, DecodedOutputFile);
        }
    }
}
